home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / technocrate.gsh < prev    next >
Text File  |  2000-08-22  |  2KB  |  69 lines

  1. // defines the technocrate and frag
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_technocrate_GSH
  8. #define INCLUDED_technocrate_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13.  
  14. hierarchy Hcy_technocratefrag
  15. {
  16.     file    "objects\technocratefrag.rif"
  17.     name    "technocratefrag"
  18.     hotspot none
  19. }
  20.  
  21. role Rol_technocratefrag : Rol_FragObject
  22. {
  23.     shape       Hcy_technocratefrag
  24.     identifier "technocratefrag"
  25. }
  26.  
  27. frag data Frg_technocratefrag
  28. {
  29.     role Rol_technocratefrag
  30.     scale 6
  31. }
  32.  
  33.  
  34. shape Shp_technocrate
  35. {
  36.        file "objects\technocrate.rif"
  37.        name "technocrate"
  38. }
  39.  
  40. character Chr_technocrate : Chr_Default
  41. {
  42.     strength        25    // initial strength points
  43.     turning speed   0    // this is in revolutions per second
  44.     walking speed   0    // this is in animation cycles per second
  45.     weapon          plasmatrix
  46.     aim             0    // how many degrees off target he can be at most
  47.     sight angle    0    // in degrees
  48.     sight range     0    // in metres
  49.     hearing range    0    // in metres
  50.     aggression    0    // from 0 to 1
  51.     radius        1    // used by the movement model
  52. }
  53.  
  54. role Rol_technocrate : Rol_PlacedObject
  55. {
  56.     character        Chr_technocrate
  57.     shape            Shp_technocrate
  58.     identifier        "technocrate"
  59.     destructibility     Frg_technocratefrag
  60.     armour            1
  61.     ai            blocker
  62.     status display        no
  63. }
  64.  
  65. ////////////////////////////////////////////////////////////////////////////////////
  66.  
  67. // end wrapper - for preventing multiple or recursive inclusions
  68. #endif // !INCLUDED_technocrate_GSH
  69.